package com.ruoyi.receipt.mapper;

import java.util.List;
import com.ruoyi.receipt.domain.TbExampleSubjectAnalysis;
import com.ruoyi.receipt.domain.TbExampleSubjectRelation;

/**
 * 例题解析Mapper接口
 * 
 * @author ruoyi
 * @date 2021-04-01
 */
public interface TbExampleSubjectAnalysisMapper 
{
    /**
     * 查询例题解析
     * 
     * @param id 例题解析ID
     * @return 例题解析
     */
    public TbExampleSubjectAnalysis selectTbExampleSubjectAnalysisById(Long id);

    /**
     * 查询例题解析列表
     * 
     * @param tbExampleSubjectAnalysis 例题解析
     * @return 例题解析集合
     */
    public List<TbExampleSubjectAnalysis> selectTbExampleSubjectAnalysisList(TbExampleSubjectAnalysis tbExampleSubjectAnalysis);

    /**
     * 新增例题解析
     * 
     * @param tbExampleSubjectAnalysis 例题解析
     * @return 结果
     */
    public int insertTbExampleSubjectAnalysis(TbExampleSubjectAnalysis tbExampleSubjectAnalysis);

    /**
     * 修改例题解析
     * 
     * @param tbExampleSubjectAnalysis 例题解析
     * @return 结果
     */
    public int updateTbExampleSubjectAnalysis(TbExampleSubjectAnalysis tbExampleSubjectAnalysis);

    /**
     * 删除例题解析
     * 
     * @param id 例题解析ID
     * @return 结果
     */
    public int deleteTbExampleSubjectAnalysisById(Long id);

    /**
     * 批量删除例题解析
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTbExampleSubjectAnalysisByIds(Long[] ids);
    /**
     * 根据知识点id查询
     */
    public List<TbExampleSubjectAnalysis> selcetanalysis(Long knowledgeManagerRelated);
    //查看解析
    public List selectAnalysisOut(TbExampleSubjectAnalysis tbExampleSubjectAnalysis);
    /**
     * 删除解析
     */
    public  int updateAnalysisDel(Long subjectManagerId);
}
